home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 March
/
EnigmA AMIGA RUN 05 (1996)(G.R. Edizioni)(IT)[!][issue 1996-03][Skylink CD IV].iso
/
earcd
/
comm2
/
httprlg2.lha
/
HTTPirLOG.doc
< prev
next >
Wrap
Text File
|
1992-09-02
|
7KB
|
211 lines
Short: HTTPD Logfile Analyzer by PirlAGA
Uploader: alessandro@mca.shiny.it (PirlAGA)
Author: tekne@cmns.mnegri.it (PirlAGA)
Type: comm/net
WHAT IS IT?
-----------
This is just a Beta Version of an HTTPD Logfile Analyzer
& Web Connections Statistics Maker, written by PirlAGA.
This Program allows you to process the logfile of the World
Wide Web servers programs (httpd = HTTP Daemons) and to get
Stats.
WHY?
----
I've decided to write this program because i was curious to know
Stats about my Web site, but there are no Amiga Programs that do
It.
I've decided to release this beta version so you can help me to
find bugs (if they are), to test it with different logfiles and
to suggest me new functions to add.
I think to release a MS-DOS version too, to get more users, but
AmigaOS is The Best Operating System Ever.
WHAT KIND OF DATA?
------------------
I've just tested it with the Logfile of the CERN httpd, and the
program seems to work correctly.
I haven't found logfiles of other daemons, so i cannot test my
program with this.
If you have other type of HTTPD-logfile, like that of NCSA
httpd, please contact me SOON, so i can learn about it and teach
to my progam to recognize and process it.
FUNCTIONS
---------
At the actual state, this programs allows you to know:
- How many requests for each page,
- How many connections from each domanin,
- How many connections in each time band,
- How many connections in each day, month or year.
The program shows stats on the screen, and produces an output file
by default (.PIRL) too, so you can read the stats later too.
The program shows how many pages are listed in the logfiles, and
how many of these are processed for creating stats.
The program calculates the time it taked to get operations too.
TO DO
-----
- I'll implement the function to specify a wildcard extesion of
pageames to process.
- Next thing to do, is to write a more friendly user interface.
- I hope to be able to sort and tabulate output stats of pages,
domains and time bands.
- Catalogs support.
- Special Additions & Keyfile Detecting for registered users.
- I'll add all functions you will suggest to me, if possible, so
write to me soon!
THE ARCHIVE
-----------
HTTPirLOG 10.2 Kbytes The Main Executable
HTTPirLOGwb 2.0 Kbytes A Simple WB Interface (written in AmigaDOS)
with some error in Flag Parameters
HTTPirLOG.doc 6.3 Kbytes This DocFile
I've tested the program on standard A1200 and A3000 with 2, 3 & 4Mb
httpd-logfiles, and it seems to work correctly.
USAGE
-----
The program is CLI only; if you run it without parameters, it shows
you the "Usage parameters" list.
If you enter "-h" or "-H" as first parameter, you will get the Online
step-by-step Help.
The first parameter have to be the filename, the others may have random
order. Parameters (except PageBase), are case unsensitive.
You can also use the HTTPirLOGwb script, that provides to open window
requesters and to give a littlebit more friendly interface; but remember
the errors in that scripts.
Usage: HTTPirLOG
FILENAME/A File To Check
NOLOG/S Don't Create Logfile
NOELAPSED/S Don't Show Elapsed Time
PROGRESS/S Show Progress
JUSTHTML/S Stats for .HTML Pages Only
CLASS=N/S Domain Level
DATE=N/S Date Depth
BAND=NN/S Time Band Depth
PAGE=XXX/S Page or Directory Name
HTTPirLOG -H For The OnLine Help
FILENAME
The only necessary parameter is the FILENAME of the logfile to
process, who have to be the first entry after the programname.
NOLOG
This is a flag. If presents, tells to the program to not Create
the Output file.
NOELAPSED
Another Flag. Tells to the Program to not calculate the elapsed
time in the process.
PROGRESS
Flag to enable the progress showing.
JUSTHTML
Flag to tell to the program to process .HTML files only.
CLASS=N
this parameter needs a numerical value after the = .
It represents the class of domains to process, and
maybe a number from 0 to 9. The 0 disables this function.
The default value is 1.
EG: class=1 processes .it domains
class=2 processes .cmns.it domanis
class=2 processes .mnegri.cmns.it domains
etc.
DATE=N
this contains a numerical value that tells to the program
what kind of dates to analyze. The range is 0 .. 3, 0 disables
this function. Default is 1.
EG: date=1 is for Day/Month/Year
date=2 is for Month/Year
date=3 id for Year only
BAND=NN
this flag is for time bands size. It maybe 0, 15, 30 or 60.
0 disable this function, default is 60.
EG: band=60 for 1 hour bands
band=30 for 30 mins bands
band=15 for 15 mind bands
PAGE=XXX
this is the indicator of the most important function, the "pages
to process" indicator.
0 disables the pagenames processing.
Any other string will be accepted as a pagename or a base-directory
name: the program will process only pages in specified directory, or
just the specified page.
All other Stats will refer to This pages.
For HomeUsers directory, you can entry both ~ or %7E qualifiers.
EG: page=/~tekne/welcome.html - program will make stats for this
file
page=/ridere/ \__ program will process the files in
page=ridere / ridere directory only.
Examples:
HTTPirLOG httpd.log
Output file (httpd.log.PIRL) Enabled, TimeCount Enabled, time bands
of 1 hour, date type is Day/Month/Year, domains type is .it , do not
show progress, assuming all pages,
HTTPirLOG httpd2.log class=2 band=15 noelapsed justhtml progress page=/ridere/
Output file (httpd2.log.PIRL) enabled, domains type is cmns.it
time bands are 15 mins long, do not calculate time elapsed, date
type is still Day/Month/Year. Show progress, process just .HTML
pages from the /ridere/ directory.
BUGS
----
- For numerical domains it's not so nice to see just numbers, but
it comes from the logfile and from the caller's machine.
- My bad english.
LEGAL & AUTHOR
--------------
This Program is EveryThingYouWant-Ware, that means you
can send me Every Thing You Want to get Registered In
Future Versions.
To refer bugs and suggestions, you can contact me via
e.Mail: tekne@cmns.mnegri.it
alessandro@mca.shiny.it
i hope to hear from you soon!
Look'up my Web at http://www.cmns.mnegri.it/~tekne/
See ya, aMiGa RulEz!